<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="/jquery-3.6.0.min.js"></script>
<script type="text/javascript">
function dealurk(){
	var u=$("#myUrlId").val();
	var url=u.replace("https://signin.ebay.com/ws/eBayISAPI.dll","/getToken");
	alert(url);
	$("#getTokenId").attr("href",url);
}
</script>
</head>
<body>
	<a href="/getAuthUrl?ebayId=jinchengjie1986"  >授权jinchengjie1986给系统</a>
	<a href="/getAuthUrl?ebayId=aliceshop1988"  >授权aliceshop1988给系统</a>
	<br>
	<br>
	<a th:href="${authorization_url}" target="_blank">调整到ebay授权</a>
	<br>
	<br>
	<input type="text" id="myUrlId"><button onclick="dealurk()">处理URL</button>
	<br>
	<br>
	<a href="" id="getTokenId">获取ebay授权TOKEN</a>
</body>
</html>